﻿package org.atk.icons 
{
	import org.aswing.AssetIcon;
	import org.aswing.AttachIcon;
	
	/**
	 * ...
	 * @author AeTky
	 */
	public class IcnTreeGridView{
		[Embed(source = "129.png")]
		public var openFolder:Class;		
		[Embed(source = '130.png')]
		public var closeFolder:Class;
		
		[Embed(source = 'ColResizer.png')]
		public var columnResize:Class;
		
		public function IcnTreeGridView(){
			
		}
		private static var instance:IcnTreeGridView=null;
		static public function create():void {
			if(instance==null)
				instance = new IcnTreeGridView();
		}
		static public function getEmbededIcon(Name:String):AssetIcon {
			create();
			try {
				var iconStr:String = "org.atk.icons.IcnTreeGridView_" + Name;
				return new AttachIcon(iconStr);
			}catch (ex:*) {
				
			}
			return null;
		}
		
	}
	
}